package com.pm.business.mapper;

import java.util.List;
import com.pm.business.domain.CompeteEnterpriseCertificate;

/**
 * 企业证书Mapper接口
 * 
 * @author zxl
 * @date 2022-05-07
 */
public interface CompeteEnterpriseCertificateMapper 
{
    /**
     * 查询企业证书
     * 
     * @param certificateId 企业证书主键
     * @return 企业证书
     */
    public CompeteEnterpriseCertificate selectCompeteEnterpriseCertificateByCertificateId(Long certificateId);

    /**
     * 查询企业证书列表
     * 
     * @param competeEnterpriseCertificate 企业证书
     * @return 企业证书集合
     */
    public List<CompeteEnterpriseCertificate> selectCompeteEnterpriseCertificateList(CompeteEnterpriseCertificate competeEnterpriseCertificate);

    /**
     * 新增企业证书
     * 
     * @param competeEnterpriseCertificate 企业证书
     * @return 结果
     */
    public int insertCompeteEnterpriseCertificate(CompeteEnterpriseCertificate competeEnterpriseCertificate);

    /**
     * 修改企业证书
     * 
     * @param competeEnterpriseCertificate 企业证书
     * @return 结果
     */
    public int updateCompeteEnterpriseCertificate(CompeteEnterpriseCertificate competeEnterpriseCertificate);

    /**
     * 删除企业证书
     * 
     * @param certificateId 企业证书主键
     * @return 结果
     */
    public int deleteCompeteEnterpriseCertificateByCertificateId(Long certificateId);

    /**
     * 批量删除企业证书
     * 
     * @param certificateIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCompeteEnterpriseCertificateByCertificateIds(Long[] certificateIds);
}
